package com.smedi.ismedi.constructionproject.core.port.adapter.persistence.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.smedi.ismedi.database.starter.model.BasicFieldEntity;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @Author: xulinjun
 * @Date: 2021-6-18 15:33
 */
@Data
@TableName(value = "cnt_bid_section")
public class BidSectionEntity extends BasicFieldEntity implements Serializable {
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @TableField(value = "project_id")
    private Long projectId;

    @TableField(value = "contract_amount")
    private BigDecimal contractAmount;

    @TableField(value = "bid_section_code")
    private String bidSectionCode;

    @TableField(value = "bid_section_short_name")
    private String bidSectionShortName;

    @TableField(value = "bid_section_name")
    private String bidSectionName;
}
